package com.pro.common.api.pay.enums;

import com.pro.framework.api.enums.IEnumStr;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 支付状态枚举
 */
@Schema(description = "支付状态")
@Getter
@AllArgsConstructor
public enum EnumPaymentStatus implements IEnumStr {

    PENDING("待支付", "info"),
    SUCCESS("支付成功", "success"),
    FAILED("支付失败", "danger"),
    CLOSED("已关闭", "warning"),
    REFUNDED("已退款", "primary");

    private final String label;
    private final String color;
}
